<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0068)http://www.manyi100.com/User/User_Article.asp?ChannelID=1&Action=Add -->
<HTML>
	<HEAD>
		<TITLE>添加用户组</TITLE>
		<LINK href="<%=request.getContextPath()%>/jsp/manage/css/User_Style.css" type=text/css rel=stylesheet>
		<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
		<style type="text/css">
<!--
.style5 {
	color: #660000
}

.style6 {
	color: #006600
}
-->
</style>
	</HEAD>
	<script type="text/javascript">
function CheckForm(){
	var str;
	str=document.myform.groupName.value.replace(/\s+/g, '');
	if (str==''){
	   alert('组名称不能为空！');
	   document.myform.groupName.focus();
	   return false;
	}
</script>
	<BODY topMargin="0" marginheight="0" marginwidth="0">

		<FORM name="myform" action="<%=request.getContextPath()%>/quanxianManage.do?method=groupsave&id=${group.id}"
		onsubmit="return CheckForm();" method="post" target="_self">
			<TABLE class="border" cellSpacing="0" cellPadding="0" width="100%"
				align="center" border="0">
				<TBODY>
					<TR class="topbg">
						<TD height=22 colSpan=2 align=middle><STRONG>添加用户组</STRONG><br></TD>
					</TR>
					<TR align=middle>
						<TD>
							<TABLE cellSpacing=1 cellPadding=2 width="100%" border=0>
								<TBODY>
									<TR class=tdbg>
										<TD align=right width=9%>
											&nbsp;
										</TD>
										<TD colspan="10">
											<FONT color=#ff0000><STRONG>注意<font
													color="#0000ff">*的内容必须填</font> </STRONG> </FONT>
										</TD>
									</TR>
									<TR class=tdbg>
										<TD align=right width=120>
											<STRONG>组名称：</STRONG>
										</TD>
										<TD colSpan=2>
											<input id='groupName' maxlength=255 size=50 name="groupName" >
											<FONT color=#ff0000>*</FONT>
										</TD>
									</TR>
									<TR class=tdbg>
										<TD align=right width=120>
											<STRONG>描述：</STRONG>
										</TD>
										<TD colSpan=2>
											<input id="descn" maxlength=255 size=50 name="descn">
										</TD>
									</TR>
									<TR class=tdbg>
										<TD align=right width=120>
											<STRONG>权限：</STRONG>
										</TD>
										<TD colSpan=2>
										<TABLE cellSpacing=1 cellPadding=2 width="100%" border=0>
										<TBODY>
											<TR class=tdbg>
												<TD  width=150>
												<input type="checkbox" name="quanxian" value="ROLE_QUANXIAN" >权限管理
												</TD>
												<TD colSpan=2>
												<input type="checkbox" name="quanxian" value="ROLE_QUANXIAN_SHENHE" >权限管理审核权<br />
												</TD>
											</TR>
											<TR class=tdbg>
												<TD  width=150>
												<input type="checkbox" name="quanxian" value="ROLE_NEWS" >最新消息
												</TD>
												<TD colSpan=2>
												<input type="checkbox" name="quanxian" value="ROLE_NEWS_SHENHE" >最新消息审核权<br />
												</TD>
											</TR>
											<TR class=tdbg>
												<TD  width=150>
												<input type="checkbox" name="quanxian" value="ROLE_CUSTOM" >定制模块
												</TD>
												<TD colSpan=2>
												<input type="checkbox" name="quanxian" value="ROLE_CUSTOM_SHENHE" >定制模块审核权<br />
												</TD>
											</TR>
											<TR class=tdbg>
												<TD  width=150>
												<input type="checkbox" name="quanxian" value="ROLE_HOTLINK" >链接
												</TD>
												<TD colSpan=2>
												<input type="checkbox" name="quanxian" value="ROLE_HOTLINK_SHENHE" >链接审核权<br />
												</TD>
											</TR>
										</TBODY>
										</TABLE>	
										</TD>
									</TR>
								</TBODY>
							</TABLE>
						</TD>
					</TR>
					<tr align="center">
						<td colspan="2">
							<input type="submit" name="SEND" value="保存数据">
							<input type="reset" value="清掉重写">
						</td>
					</tr>
				</TBODY>
			</TABLE>
			<BR>
		</FORM>
	</BODY>
</HTML>
